<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.3/vue.js"></script>
</head>
<script type="text/x-template" id="test">
    <div>this is hello</div>
</script>
<body>

<div id="app">
    <test>
        <div>
            <p>These are compiled as the component's own template.</p>
            <p>Not parent's transclusion content.</p>
        </div>
    </test>
    <inline inline-template>
        <ul>
            <li>11</li>
            <li>33</li>
        </ul>
    </inline>
</div>

<script>
    let vm = new Vue({
        el:"#app",
        data:{

        },
        components:{
            "test":{
                "template":"#test"
            },
            "inline":{
                "template":"<div></div>"
            }
        }


    })

</script>
</body>
</html>